<div class="row panel-group">
	<div class="col-xs-12">
		<div class="avatar-left">
			<img ng-src="{{userInfo.userIcon||'img/user-icon.jpg'}}" />
			<h4>
			<a ui-sref="public.user-zone.favorite({userId:userId})">
								
				{{userInfo.nickName||userInfo.userName}}
			</a>
							
						</h4>
			<p class="text-inline">
				{{userInfo.introduce||'未填写简介'}}
			</p>
		</div>
	</div>
</div>

<div class="row panel-group">
	<div class="col-xs-12">
		<div text-angular ng-model="newParams.content" ta-toolbar="[
									['insertLinkC', 'insertImageC', 'insertVideoC','uploadImage']
									]" ta-html-editor-class="editor-sm" ta-text-editor-class="editor-sm" placeholder="输入消息..." ta-resize-force-aspect-ratio="true">

		</div>

	</div>
	<div class="col-xs-12 pull-right">
		<div class="btn-group pull-right">
			<button ng-click="clear()" class="btn btn-default">
											清空
										</button>
			<button ng-click="submit()" class="btn btn-default text-green">
											发送
										</button>
		</div>
	</div>
</div>

<ul class="media-list row bg-light">
	<li class="media row" ng-if="params.total>0">
		<div class="col-xs-12 text-center">
			<button ng-if="$root.previous" ng-click="$root.goPrevious()" class="btn btn-sm btn-link pull-left">
						<i class="glyphicon glyphicon-chevron-left"></i>
						返回列表
					</button>
			<ul ng-change="changePage()" uib-pagination total-items="params.total" ng-model="params.pageNum" items-per-page="params.pageSize" max-size="5" class="pagination-sm no-margin" boundary-link-numbers="true" rotate="false" previous-text="上一页" next-text="下一页"></ul>
		</div>
	</li>
	<div ui-view="user-chat-page">
		
	</div>
	
	<li class="media row" ng-if="params.total>0">
		<div class="col-xs-12 text-center">
			<ul ng-change="changePage()" uib-pagination total-items="params.total" ng-model="params.pageNum" items-per-page="params.pageSize" max-size="5" class="pagination-sm no-margin" boundary-link-numbers="true" rotate="false" previous-text="上一页" next-text="下一页"></ul>
		</div>
	</li>
</ul>